package com.googlecode.rjm.model.journal;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import com.googlecode.rjm.model.Status;

@Entity
@DiscriminatorValue(value = "attr#status_id")
public class StatusJournalDetail extends JournalDetail<Status> {

	private static final long serialVersionUID = 1L;

	@Override
	public Status getTypedValue() {
		return loadObjectFromId(this.getValue(), Status.class);
	}

	@Override
	public Status getOldTypedValue() {
		return loadObjectFromId(this.getOldValue(), Status.class);
	}

}
